<style>
    .tool-box {
        margin-bottom: 10px;
    }
    .tool-box li a {
        background-color: #fff;
    }
</style>
<div class="clearfix text-center tool-box">
    <ul id="myTab" class="nav nav-pills nav-primary">
        <li>
            <a href="{:url('admin/Count/active')}" class="tab_active">活跃用户统计</a>
        </li>
        <li>
            <a href="{:url('admin/Count/remain')}" class="tab_remain">留存率统计</a>
        </li>
        <li>
            <a href="{:url('admin/Count/lost')}" class="tab_lost">流失率统计</a>
        </li>
    </ul>
</div>
<script>
    $(function () {
        $('.tab_' + "{$now_table}").parent().addClass('active');
    });
</script>
